body,
html {
    width: 100%;
    height: 100%;
    background: #f6f6f6;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* 清浮动 */
.clearfix::after {
    display: block;
    content: '';
    clear: both;
    height: 0;
}

.clearfix {
    zoom: 1;
}

.min {
    min-width: 1200px;
}

.container {
    width: 1200px;
    margin: 0 auto;
}


//头
#header {
    width: 100%;
    height: 160px;
    background: #fff;

    //logo
    .logoBox {

        margin-left: 20px;
        margin-top: 40px;
        margin-right: 20px;

        a {
            img {
                width: 75px;
                height: 75px;
                margin-right: 20px;
            }
        }

        .logoText {
            margin-top: 5px;
            text-align: center;

            h3 {
                font-size: 28px;
                font-weight: 600;
                line-height: 40px;
                color: #43240c;
            }

            span {
                font-size: 12px;
                line-height: 17px;
                color: #43240c;
            }
        }
    }

    // 搜索框
    .SearchBox {
        width: 530px;
        height: 48px;
        float: left;
        position: relative;
        border-radius: 34px;
        box-shadow: inset 0 0 0 2px #43240c;
        margin-top: 50px;
        margin-left: 60px;
        margin-right: 50px;

        span {
            font-size: 30px;
            position: absolute;
            top: 8px;
            left: 5px;
        }

        input {
            top: 3px;
            left: 47px;
            width: calc(100% - 177px);
            font-size: 16px;
            line-height: 40px;
            color: #43200c;
            position: absolute;
            border: none;
            outline: none;
        }

        .search {
            cursor: pointer;
            position: absolute;
            top: 4px;
            right: 5px;
            width: 124px;
            font-size: 14px;
            font-weight: 500;
            line-height: 40px;
            text-align: center;
            color: #43200c;
            background-color: #fee44e;
            border-radius: 34px;
        }
    }

    //右图标
    .guarantee {
        margin-top: 40px;

        img {
            width: 40px;
            height: 40px;
            color: red;
        }

        p {
            font-size: 12px;
            margin-top: 10px;
        }

        li {
            float: left;
            margin-right: 20px;
        }

    }


}

//导航
#navCarousel {
    .nav {
        width: 100%;
        height: 46px;
        background-color: #43240c;

        li {
            float: left;
            text-align: center;
            line-height: 46px;
            color: #fff;
        }

        .nav-index {
            width: 220px;
            background: #fee44e;
        }
    }
}

//商品列表
#commodity {
    background: #fff;
    padding-bottom: 20px;

    a {
        text-decoration: none;
        color: rgb(54, 53, 53);
    }

    h3 {
        text-align: right;
        font-weight: 900;
        font-size: 25px;
        margin-top: 20px;
    }

    .total-price {
        color: red;
    }

    table {
        width: 100%;

        img {
            width: 100px;
            height: 100px;
        }

        tr {
            line-height: 60px;
            text-align: center;
            border-bottom: 1px dashed gray;

            td,
            th {
                border-bottom: 1px dashed gray;

                span {
                    display: inline-block;
                    width: 200px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }

            input[type="button"] {
                width: 20px;
            }

            input[name="amount"] {
                width: 40px;
                text-align: center;
            }
        }


    }
}

//页脚
#footer {
    width: 100%;
    height: 200px;
    background: rgb(53, 50, 50);
    padding-top: 40px;

    .container {
        .left {
            img {
                float: left;
                width: 112px;
                height: 112px;
                margin: 0 19px 0 40px;
                margin-right: 19px;
            }

            .title {
                text-align: center;

                h1 {
                    font-size: 36px;
                    font-weight: 600;
                    color: #fff;
                    margin-bottom: 8px;
                    width: 144px;
                    height: 48px;
                }

                p {
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 25px;
                    color: #fff;
                }
            }


        }
    }

    .minddle {
        font-size: 20px;
        margin-left: 250px;
        margin-top: 50px;

        span {
            margin: 0 8px;
            font-size: 20px;
            color: #fff;
        }

        a {
            color: #fff;
            text-decoration: none;
            font-size: 20px;

            &:hover {
                color: crimson;
            }
        }
    }

    .bottom {
        width: 100%;
        height: 40px;
        background: rgb(53, 50, 50);
        color: #fff;
        text-align: center;
        margin-top: 50px;

        span,
        a {
            margin: 0 8px;
            font-size: 20px;
            color: #fff;
        }

        img {
            width: 22px;
            height: 22px;
            margin-top: 5px;
            vertical-align: -5px;
        }

        p {
            display: inline-block;
        }
    }
}

//回到顶部
#return {
    position: fixed;
    top: 50%;
    right: 50px;
    margin: -30px;
    border-radius: 30px;
    height: 45px;
    width: 60px;
    background: #fee44e;
    z-index: 5;
    text-align: center;
    padding-top: 15px;
    color: #fff;
}